package com.nsgf.library.utils;

import android.widget.Toast;

/**
 * Create by GC at 2024/9/19
 */
public class ToastUtils {

    public static void showLongToast(String text) {
        try {
            CustomToast.showToast(Utils.getApp().getApplicationContext(), text);
        } catch (IllegalStateException e) {
            e.getMessage();
        }
    }

    public static void showShortToast(String text) {

        try {
            CustomToast.showToast(Utils.getApp().getApplicationContext(), text);
        } catch (IllegalStateException e) {
            e.getMessage();
        }
    }

}
